// @ts-nocheck

import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const onlinePreviewRoute: AppRouteModule = {
  id: 'inOnlinePreview',
  path: '/onlinePreview',
  name: 'inOnlinePreview',
  component: LAYOUT,
  redirect: '/onlinePreview/index',
  meta: {
    // hideChildrenInMenu: false,
    icon: 'simple-icons:about-dot-me',
    title: t('routes.dashboard.about'),
    orderNo: 100000,
  },
  children: [
    {
      id: 'onlinePreviewPage',
      path: 'index',
      name: 'onlinePreviewPage',
      component: () => import('/@/views/onlinePreview/index.vue'),
      meta: {
        title: t('routes.dashboard.about'),
        icon: 'simple-icons:about-dot-me',
        // hideMenu: false,
      }
    },
  ],
};

export default onlinePreviewRoute;
